package com.mai.entity;

/**
* <p>Title: CartItem</p> 
* <p>Description: 购物车</p> 
* @author  唐振耀 
* @date  2019年6月14日
*/
public class Cart{
	private Integer user_id;               //用户id
	private String category_name;          //商品类目名字
	private String product_description;    //商品描述
	private String product_icon;           //商品图片
	private Integer category_type;       //菜系种类id
	private Integer order_id;        //订单表id
	private String buyer_name;       //买家名字
	private String buyer_phone;      //买家电话
	private String buyer_address;    //买家地址
	private Double order_amount;     //订单总金额
	private int order_status;        //订单状态，默认0新下单
	private int pay_status;          //支付状态，默认0未支付
	private Integer detail_id;          //订单详情表id
	private Integer product_id;         //商品表id
	private String product_name;        //商品名称
	private String product_price;       //商品价格
	private Integer product_quantity;   //商品数量
	
	
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getCategory_name() {
		return category_name;
	}
	public void setCategory_name(String category_name) {
		this.category_name = category_name;
	}
	public String getProduct_description() {
		return product_description;
	}
	public void setProduct_description(String product_description) {
		this.product_description = product_description;
	}
	public String getProduct_icon() {
		return product_icon;
	}
	public void setProduct_icon(String product_icon) {
		this.product_icon = product_icon;
	}
	public Integer getCategory_type() {
		return category_type;
	}
	public void setCategory_type(Integer category_type) {
		this.category_type = category_type;
	}
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer order_id) {
		this.order_id = order_id;
	}
	public String getBuyer_name() {
		return buyer_name;
	}
	public void setBuyer_name(String buyer_name) {
		this.buyer_name = buyer_name;
	}
	public String getBuyer_phone() {
		return buyer_phone;
	}
	public void setBuyer_phone(String buyer_phone) {
		this.buyer_phone = buyer_phone;
	}
	public String getBuyer_address() {
		return buyer_address;
	}
	public void setBuyer_address(String buyer_address) {
		this.buyer_address = buyer_address;
	}
	public Double getOrder_amount() {
		return order_amount;
	}
	public void setOrder_amount(Double order_amount) {
		this.order_amount = order_amount;
	}
	public int getOrder_status() {
		return order_status;
	}
	public void setOrder_status(int order_status) {
		this.order_status = order_status;
	}
	public int getPay_status() {
		return pay_status;
	}
	public void setPay_status(int pay_status) {
		this.pay_status = pay_status;
	}
	public Integer getDetail_id() {
		return detail_id;
	}
	public void setDetail_id(Integer detail_id) {
		this.detail_id = detail_id;
	}
	public Integer getProduct_id() {
		return product_id;
	}
	public void setProduct_id(Integer product_id) {
		this.product_id = product_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public String getProduct_price() {
		return product_price;
	}
	public void setProduct_price(String product_price) {
		this.product_price = product_price;
	}
	public Integer getProduct_quantity() {
		return product_quantity;
	}
	public void setProduct_quantity(Integer product_quantity) {
		this.product_quantity = product_quantity;
	}
	@Override
	public String toString() {
		return "CartItem [user_id=" + user_id + ", category_name=" + category_name + ", product_description="
				+ product_description + ", product_icon=" + product_icon + ", category_type=" + category_type
				+ ", order_id=" + order_id + ", buyer_name=" + buyer_name + ", buyer_phone=" + buyer_phone
				+ ", buyer_address=" + buyer_address + ", order_amount=" + order_amount + ", order_status="
				+ order_status + ", pay_status=" + pay_status + ", detail_id=" + detail_id + ", product_id="
				+ product_id + ", product_name=" + product_name + ", product_price=" + product_price
				+ ", product_quantity=" + product_quantity + "]";
	}
	
	
	

}
